package com.aphrodite.io.sip.header;

import java.util.Vector;

/** SIP Header Allow-Events */
public final class AllowEventsHeader extends ListHeader {
	public AllowEventsHeader(Header hd) {
		super(hd);
	}

	public AllowEventsHeader(String hvalue) {
		super(SipHeaders.Allow_Events, hvalue);
	}

	/** Adds a new event to the event list. */
	public void addEvent(String event) {
		super.addElement(event);
	}

	/** Gets list of events (as Vector of Strings). */
	public Vector getEvents() {
		return super.getElements();
	}

	/** Sets the list of events. */
	public void setEvents(Vector events) {
		super.setElements(events);
	}
}
